#pragma once

// using NULL as invalidated handle value
extern void InvalidateHandle(HANDLE& hHandle );
extern void CloseAndCleanHandle(HANDLE& hHandle);
// using -1 as invalidated handle value
extern void InvalidateHandleX(HANDLE& hHandle );
extern void CloseAndCleanHandleX(HANDLE& hHandle);
